package com.chen.service;

import com.chen.dao.UserDao;
import com.chen.dao.UserDaoImpl;
import com.chen.dao.UserDaoMysqlImpl;

public class UserServiceImpl implements UserService {
  private UserDao userDao;

  //利用set进行动态实现值的注入！
  public void setUserDao(UserDao userDao) {
    this.userDao = userDao;
  }

  public void getUser() {
    userDao.getUser();
  }
}
